package com.student.dao;

import com.student.pojo.Admin;

/**
 * @author lin945
 * @date 2020/4/25 13:00
 */
public interface AdminDao {
    /**
     *
     * @param admin
     * @return
     */
    boolean existAdmin(Admin admin);

    /**
     *
     * @param admin
     * @return
     */
    Admin querAdminByNameAndPassword(Admin admin);

    /**
     *
     * @param admin
     * @return
     */
    boolean saveAdmin(Admin admin);
}
